<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<gProjeto.Models.projeto>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Html.Encode(Model.projetoId)%> - <%= Html.Encode(Model.projetoNome)%> ( <%= Html.Encode(Model.projetoSigla)%> )
        <%= Html.ActionLink("<< Volta para Produtos", "Index", "Projeto")%>
    </h2>
   
    <%= Html.Hidden("projetoId", Model.projetoId) %>
    <%=Html.Tab("tab", new TabExtension.TabItem[] { 
            new TabExtension.TabItem {  HtmlObjId = "ParticipanteLista",
                                                    HtmlObjTitle = "Participantes",
                                                    actionController = "/Participante/ParticipanteLista/" + Model.projetoId.ToString(),
                                                    IsInRole = Page.User.IsInRole("ParticipanteLista")},    
            new TabExtension.TabItem {  HtmlObjId = "EstoriaLista",
                                                    HtmlObjTitle = "Product Backlog",
                                                    actionController = "/Estoria/EstoriaLista/" + Model.projetoId.ToString(),
                                                    IsInRole = Page.User.IsInRole("EstoriaLista")},
            new TabExtension.TabItem {  HtmlObjId = "ListaQuadro",
                                                    HtmlObjTitle = "Sprints",
                                                    actionController = "/Quadro/ListaQuadro/" + Model.projetoId.ToString(),
                                                    IsInRole = Page.User.IsInRole("ListaQuadro")}})%>
    <br />    
</asp:Content>

